<template>
	<view>
		<view @click="show = true">
			<view
				class="placeholder u-line-1"
				:style="{ color: 'lightgray' }"
				>请选择</view
			>
			<!-- <view class="u-line-1">{{ value }}</view> -->

			<!-- <u-icon
				name="arrow-down-fill"
				:color="label ? '#2b2b2b' : '#828282'"
				size="24"
				class="u-m-l-10"
			></u-icon> -->
		</view>
		<u-picker
			:show="show"
			:columns="[1,2,3,4,5]"
			@confirm="confirm"
			@change="changeHandler"
			
		></u-picker>
	</view>
</template>

<script>
export default {
	data() {
		return {
			show: false,
			label: "",
			// list:[
			// 	{
			// 		label:'输血开始前15分钟',
			// 		value:'1',
			// 	},
			// 	{
			// 		label:'输血开始',
			// 		value:'2',
			// 	},
			// 	{
			// 		label:'输血完毕',
			// 		value:'3',
			// 	},
			// 	{
			// 		label:'输血完毕后15分钟',
			// 		value:'4',
			// 	},
			// 	{
			// 		label:'其他',
			// 		value:'5',
			// 	},
			// ],
		}
	},
	props: {
		
	},
	computed: {},
	watch: {},
	mounted() {
		console.log("select获取下拉列表：", this.list)
	},
	methods: {
		confirm(e) {
			this.show = false
		},
		changeHandler(e) {
			this.show = false
		},
	},
}
</script>

<style lang="scss" scoped>
</style>
